package com.boruan.qq.zxgylibrary.service.model;

import java.util.List;

/**
 * Created by 崔琦 on 2019/9/5.
 * des: 地址列表实体
 */

public class AddressListBean {


    /**
     * errorCode : null
     * message : null
     * data : [{"id":1105,"platformid":null,"buyerid":1000002565,"provicecode":"37","citycode":"3702","countrycode":"370211","towncode":null,"villagecode":null,"address":"山东省青岛市黄岛区","attachaddress":null,"fulladdress":"山东省 青岛市 黄岛区 薛家岛街道海信阳光里小区A区","isdefault":2,"yn":1,"contactperson":"王11","contactphone":"15522222222","contacttel":null,"contactemail":null,"postalcode":null,"emergencyperson":null,"emergencyphone":null,"createtime":"2019-09-05 04:44:47","updatetime":null,"longitude":"120.290482","latitude":"36.002936"},{"id":1106,"platformid":null,"buyerid":1000002565,"provicecode":null,"citycode":null,"countrycode":null,"towncode":null,"villagecode":null,"address":"山东省青岛市黄岛区","attachaddress":null,"fulladdress":"山东省 青岛市 黄岛区 薛家岛街道海信阳光里小区A区","isdefault":2,"yn":1,"contactperson":"王11","contactphone":"15522222222","contacttel":null,"contactemail":null,"postalcode":null,"emergencyperson":null,"emergencyphone":null,"createtime":"2019-09-05 23:21:19","updatetime":null,"longitude":"120.290482","latitude":"36.002936"},{"id":1107,"platformid":null,"buyerid":1000002565,"provicecode":null,"citycode":null,"countrycode":null,"towncode":null,"villagecode":null,"address":"山东省 青岛市 黄岛区","attachaddress":null,"fulladdress":"山东省 青岛市 黄岛区光谷软件园","isdefault":1,"yn":1,"contactperson":"崔琦","contactphone":"15315400709","contacttel":null,"contactemail":null,"postalcode":null,"emergencyperson":null,"emergencyphone":null,"createtime":"2019-09-05 23:43:52","updatetime":null,"longitude":"120.160078","latitude":"35.950905"}]
     * success : true
     */

    private String code;
    private String message;
    private boolean success;
    private List<ResultBean> result;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> data) {
        this.result = data;
    }

    public static class ResultBean {
        /**
         * id : 1105
         * platformid : null
         * buyerid : 1000002565
         * provicecode : 37
         * citycode : 3702
         * countrycode : 370211
         * towncode : null
         * villagecode : null
         * canDelivery 1
         * address : 山东省青岛市黄岛区
         * attachaddress : null
         * fulladdress : 山东省 青岛市 黄岛区 薛家岛街道海信阳光里小区A区
         * isdefault : 2
         * sex: 1
         * tag: 1
         * yn : 1
         * contactperson : 王11
         * contactphone : 15522222222
         * contacttel : null
         * contactemail : null
         * postalcode : null
         * emergencyperson : null
         * emergencyphone : null
         * createtime : 2019-09-05 04:44:47
         * updatetime : null
         * longitude : 120.290482
         * latitude : 36.002936
         */

        private int id;
        private Object platformid;
        private int buyerid;
        private String provicecode;
        private String citycode;
        private String countrycode;
        private String cityName;
        private Object towncode;
        private Object villagecode;
        private String address;
        private String attachaddress;
        private String fulladdress;
        private int isdefault;
        private int sex;
        private int tag;
        private int yn;
        private String contactperson;
        private String contactphone;
        private Object contacttel;
        private Object contactemail;
        private Object postalcode;
        private Object emergencyperson;
        private Object emergencyphone;
        private String createtime;
        private Object updatetime;
        private String longitude;
        private String latitude;
        private int canDelivery;

        public int getCanDelivery() {
            return canDelivery;
        }

        public void setCanDelivery(int canDelivery) {
            this.canDelivery = canDelivery;
        }

        public String getCityName() {
            return cityName;
        }

        public void setCityName(String cityName) {
            this.cityName = cityName;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public Object getPlatformid() {
            return platformid;
        }

        public void setPlatformid(Object platformid) {
            this.platformid = platformid;
        }

        public int getBuyerid() {
            return buyerid;
        }

        public void setBuyerid(int buyerid) {
            this.buyerid = buyerid;
        }

        public String getProvicecode() {
            return provicecode;
        }

        public void setProvicecode(String provicecode) {
            this.provicecode = provicecode;
        }

        public String getCitycode() {
            return citycode;
        }

        public void setCitycode(String citycode) {
            this.citycode = citycode;
        }

        public String getCountrycode() {
            return countrycode;
        }

        public void setCountrycode(String countrycode) {
            this.countrycode = countrycode;
        }

        public Object getTowncode() {
            return towncode;
        }

        public void setTowncode(Object towncode) {
            this.towncode = towncode;
        }

        public Object getVillagecode() {
            return villagecode;
        }

        public void setVillagecode(Object villagecode) {
            this.villagecode = villagecode;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getAttachaddress() {
            return attachaddress;
        }

        public void setAttachaddress(String attachaddress) {
            this.attachaddress = attachaddress;
        }

        public String getFulladdress() {
            return fulladdress;
        }

        public void setFulladdress(String fulladdress) {
            this.fulladdress = fulladdress;
        }



        public int getIsdefault() {
            return isdefault;
        }

        public void setIsdefault(int isdefault) {
            this.isdefault = isdefault;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public int getTag() {
            return tag;
        }

        public void setTag(int tag) {
            this.tag = tag;
        }

        public int getYn() {
            return yn;
        }

        public void setYn(int yn) {
            this.yn = yn;
        }

        public String getContactperson() {
            return contactperson;
        }

        public void setContactperson(String contactperson) {
            this.contactperson = contactperson;
        }

        public String getContactphone() {
            return contactphone;
        }

        public void setContactphone(String contactphone) {
            this.contactphone = contactphone;
        }

        public Object getContacttel() {
            return contacttel;
        }

        public void setContacttel(Object contacttel) {
            this.contacttel = contacttel;
        }

        public Object getContactemail() {
            return contactemail;
        }

        public void setContactemail(Object contactemail) {
            this.contactemail = contactemail;
        }

        public Object getPostalcode() {
            return postalcode;
        }

        public void setPostalcode(Object postalcode) {
            this.postalcode = postalcode;
        }

        public Object getEmergencyperson() {
            return emergencyperson;
        }

        public void setEmergencyperson(Object emergencyperson) {
            this.emergencyperson = emergencyperson;
        }

        public Object getEmergencyphone() {
            return emergencyphone;
        }

        public void setEmergencyphone(Object emergencyphone) {
            this.emergencyphone = emergencyphone;
        }

        public String getCreatetime() {
            return createtime;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }

        public Object getUpdatetime() {
            return updatetime;
        }

        public void setUpdatetime(Object updatetime) {
            this.updatetime = updatetime;
        }

        public String getLongitude() {
            return longitude;
        }

        public void setLongitude(String longitude) {
            this.longitude = longitude;
        }

        public String getLatitude() {
            return latitude;
        }

        public void setLatitude(String latitude) {
            this.latitude = latitude;
        }
    }
}
